|
This page last changed on Feb 09, 2006 by jens@atlassian.com.
 |
This document intends to give programmers and advanced users of Confluence an overview over the lucene search fields used in Confluence. |
Field searches
Confluence data is stored in fields which can be specified in the search. To search a specific field, type the name of the field followed by a colon ":" and then the term you are looking for.
The field is only valid for the term directly preceeding the colon. The following query will only find "Some" in the title field and will search for Title in the default fields.
Confluence Search Fields
|
Pages
| Name |
Indexed |
Stored |
Tokenized |
| handle |
true |
true |
false |
| type |
true |
true |
false |
| urlPath |
true |
true |
false |
| excerpt |
false |
true |
false |
| title |
true |
true |
true |
| spacekey |
true |
true |
false |
| labelText |
true |
true |
true |
| modified |
true |
true |
false |
| created |
true |
true |
false |
| userpermission |
true |
true |
false |
| space.name |
false |
true |
false |
| space.key |
false |
true |
false |
| version |
false |
true |
false |
| contentBody |
true |
true |
true |
|
News
| Name |
Indexed |
Stored |
Tokenized |
| handle |
true |
true |
false |
| type |
true |
true |
false |
| urlPath |
true |
true |
false |
| excerpt |
false |
true |
false |
| title |
true |
true |
true |
| spacekey |
true |
true |
false |
| labelText |
true |
true |
true |
| modified |
true |
true |
false |
| created |
true |
true |
false |
| userpermission |
true |
true |
false |
| space.name |
false |
true |
false |
| space.key |
false |
true |
false |
| version |
false |
true |
false |
| contentBody |
true |
true |
true |
|
|
Attachments
| Name |
Indexed |
Stored |
Tokenized |
| handle |
true |
true |
false |
| type |
true |
true |
false |
| urlPath |
true |
true |
false |
| filename |
true |
true |
true |
| title |
true |
true |
false |
| comment |
true |
true |
true |
| niceType |
false |
true |
false |
| downloadPath |
false |
true |
false |
| niceFileSize |
false |
true |
false |
| content.type |
false |
true |
false |
| content.space.name |
false |
true |
false |
| content.space.key |
false |
true |
false |
| content.urlPath |
false |
true |
false |
| content.realTitle |
false |
true |
false |
| spacekey |
true |
true |
false |
| modified |
true |
true |
false |
| created |
true |
true |
false |
| userpermission |
true |
true |
false |
| contentBody |
true |
true |
true |
|
Mails
| Name |
Indexed |
Stored |
Tokenized |
| handle |
true |
true |
false |
| type |
true |
true |
false |
| urlPath |
true |
true |
false |
| excerpt |
false |
true |
false |
| title |
true |
true |
true |
| spacekey |
true |
true |
false |
| messageid |
true |
true |
false |
| inreplyto |
true |
true |
false |
| recipients |
true |
true |
true |
| labelText |
true |
true |
true |
| modified |
true |
true |
false |
| created |
true |
true |
false |
| userpermission |
true |
true |
false |
| space.name |
false |
true |
false |
| space.key |
false |
true |
false |
| version |
false |
true |
false |
| contentBody |
true |
true |
true |
|
Personal Information
| Name |
Indexed |
Stored |
Tokenized |
| handle |
true |
true |
false |
| type |
true |
true |
false |
| urlPath |
true |
true |
false |
| creatorName |
false |
true |
false |
| lastModifierName |
false |
true |
false |
| excerpt |
false |
true |
false |
| fullName |
true |
true |
true |
| username |
true |
true |
true |
| title |
true |
true |
false |
| labelText |
true |
true |
true |
| modified |
true |
true |
false |
| created |
true |
true |
false |
| userpermission |
true |
true |
false |
| version |
false |
true |
false |
| contentBody |
true |
true |
true |
|
THANK YOU JENS! Superb, I've been after such a list ever since I realised that Lucene (sp?) allowed this sort of thing. Yay! Mind if I rob a copy for our own user guide? We've got a page dedicated to advanced searching 

Posted by gfraser at Feb 09, 2006 19:17
|
|
This is only a simple overview over the fields used in the index. We will need to filter and document the important content fields to make this document more useful.

Posted by jens@atlassian.com at Feb 09, 2006 19:19
|
|
I noticed that there were 2 "recipients" fields in the Mail properties?

Posted by gfraser at Feb 09, 2006 19:22
|
|
Guy,
You're more than welcome to grab a copy. We'll have to work on documenting each single field and filter the less useful ones. For example the handle and modified fields are not very useful for a field search. Would be great if you could let us know when you make any enhancements to the docs.
Cheers,
Jens

Posted by jens@atlassian.com at Feb 09, 2006 19:25
|
|
I've noticed that too. Will have to check that 

Posted by jens@atlassian.com at Feb 09, 2006 19:26
|
|
Adding a footnote here for what the "default" contentBody (and title) tokenizer setup would be handy. 

Posted by benny.yih@ieee.org at Mar 10, 2006 15:40
|
|
Let's say that lots of my pages each have lots of attachments, potentially big ones.
Is it possible to specify a search that searches only the attachments of the currently-displayed page?
And, also handy would be ... a way to search the targets of links in the current page.
TIA.

Posted by fbaube at May 09, 2006 06:36
|
|